package zwp.example.demo1.demo_pojo.enumdemo;

import lombok.Getter;

/**
 * @author zwp14
 */

@Getter
public enum DemoEnum {



    /**
     * 低电压用户异常
     */
    LOW_VOLTAGE("2508", "电网运维", "250801", "巡视检查"),

    /**
     * 采集异常
     */
    COLLECT_EXCEPTION("2503", "采集线损", "250301", "采集消缺"),

    /**
     * 采集失败
     */
    COLLECT_FAIL("2503", "采集线损", "250304", "采集补抄"),

    /**
     * 停复电失败异常明细
     */
    FEE_CONTROL_ERROR("2503", "采集线损", "250305", "停复电失败"),

    /**
     * 计量异常明细
     */
    MEASURE_ERROR("2502", "计量管理", "250203", "计量消缺"),

    /**
     * 未缴费用户明细
     */
    NON_PAYMENT_USERS("2506", "电费管理", "250603", "电费催缴"),

    /**
     * 高损台区明细
     */
    TG_HIGH_LOW_LOSS("2503", "采集线损", "250306", "高负损治理");


    /**
     * 工单类型
     */
    private final String orderType;

    /**
     * 工单类型名称
     */
    private final String orderTypeName;

    /**
     * 工单子类型
     */
    private final String subOrderType;

    /**
     * 工单子类型名称
     */
    private final String subOrderTypeName;


    /**
     * @param orderType        工单类型
     * @param orderTypeName    工单类型名称
     * @param subOrderType     子工单类型
     * @param subOrderTypeName 子工单类型名称
     */
    DemoEnum(String orderType, String orderTypeName, String subOrderType,
                              String subOrderTypeName) {
        this.orderType = orderType;
        this.orderTypeName = orderTypeName;
        this.subOrderType = subOrderType;
        this.subOrderTypeName = subOrderTypeName;
    }
}
